package com.dashu.base.enums.common;


import java.util.HashMap;
import java.util.Map;

public enum SubordinateType {


    OPEN("开放",1),
    DISABLE("禁用",2);


    private String name;
    private long code;

    SubordinateType(String name,long code) {
        this.name = name;
        this.code = code;
    }
    public static final Map<String, SubordinateType> map = new HashMap<>();

    static {
        for (SubordinateType s : SubordinateType.values()) {
            map.put(s.name(), s);
        }
    }
}
